package com.hd.homework0412.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hd.homework0412.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryDao extends BaseMapper<Category> {
    public List<Category> getAll();
    public List<Category> getAll0(@Param("level") Integer level);
}
